<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./flex.css">
</head>

<body>

    <!-- 顶部搜索模块 -->
    <div class="header">
        <div class="search-bar">
            <img class="logo" src="https://m.mi.com/static/img/icon-header-logo3.ddf2a1c313.png" alt="">
            <div class="search">
                <img src=""
                    alt="">
                搜索商品名称
            </div>
            <a href="#" class="user">
                <img src="https://m.mi.com/static/img/icon-user.23496a0116.png" alt="">
            </a>
        </div>

        <div class="nav">
            <div>推荐</div>
            <div>智能</div>
            <div>电视</div>
            <div>家电</div>
            <div>笔记本</div>
        </div>
    </div>

    <!-- 焦点图 -->
    <div class="banner">
        <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/191abf1ee44da39b2fad23d3b6224457.jpg"
            alt="">
        
    </div>



</body>

</html>